<Rectange Id="Rectange0"  Position="{{.Position}}"  Width="{{.Width}}" Height="{{.Height}}" Color="#017bcd" OnMouseDown="js:ColorChange('Rectange0',77,77,77)" OnMouseUp="js:ColorChange('Rectange0',1,123,255)" >
   <Text Id="Text0" Text="{{.Text}}"Color="#ffffff" Position="0,-2,0" />
</Rectange>
<script type="text/javascript">

  function ColorChange(StrId,r,g,b)
  {
    TopWidget.GetId(StrId).SetColorRGBA(r/255.0,g/255.0,b/255.0,1.0)
  }

</script>
